package com.elock.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.elock.base.core.entity.BaseEntity;

/**
 * Entity - 车辆
 * @author 仁德
 */
@Entity
@Table(name = "car")
@SequenceGenerator(name = "sequenceGenerator", sequenceName = "car_sequence")
public class Car extends BaseEntity {

	private static final long serialVersionUID = 1386745660360951034L;

	/** 车牌号 */
	private String carNumber;

	/** 车型 */
	private String carType;

	/** 备注 */
	private String remark;

	/**  
	 * 获取carNumber  
	 * @return carNumber carNumber  
	 */
	@Column(unique = true)
	public String getCarNumber() {
		return carNumber;
	}

	/**  
	 * 设置carNumber  
	 * @param carNumber carNumber  
	 */
	public void setCarNumber(String carNumber) {
		this.carNumber = carNumber;
	}

	/**  
	 * 获取carType  
	 * @return carType carType  
	 */
	public String getCarType() {
		return carType;
	}

	/**  
	 * 设置carType  
	 * @param carType carType  
	 */
	public void setCarType(String carType) {
		this.carType = carType;
	}

	/**  
	 * 获取remark  
	 * @return remark remark  
	 */
	public String getRemark() {
		return remark;
	}

	/**  
	 * 设置remark  
	 * @param remark remark  
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

}
